package com.hustcad.es.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created by wangwen on 2019/9/29 9:32
 * 文档实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DocumentEntity {
    /**
     * 索引名
     */
    private String indexName;

    /**
     * 文档路径
     */
    private String path;

    /**
     * 文档名
     */
    private String name;

    /**
     * 文档id
     */
    private String oid;

    public DocumentEntity(){

    }

    public DocumentEntity(String indexName, String path, String name, String oid) {
        this.indexName = indexName;
        this.path = path;
        this.name = name;
        this.oid = oid;
    }
}
